﻿using System;
using System.Data.Linq.Mapping;
using System.Runtime.Serialization;

namespace IBBI.DataBase.Persistent {

    [Table(Name = "EQUIPMENT_STOCK")]
    public class EquipmentStock {

        [Column(Name = "ID")]
        public string Id { get; set; }

        [DataMember(Name = "ID")]
        [Column(Name = "EQUIPMENT_ID")]
        public int EquipmentId { get; set; }

        [Column(Name = "STOCK")]
        public int Stock { get; set; }

        [Column(Name = "DATE_CREATED")]
        public DateTime DateCreated { get; set; }

        [Column(Name = "DATE_UPDATED")]
        public DateTime DateUpdated { get; set; }

    }

}